select categorical columns pandas

164

Get all the categorical column from the dataframe using python -

dfName.select_dtypes(include=['object']).columns.tolist()

Comments

Submit
0 Comments